# *
# print(1 * 2)
# print("=" * 30)

# a = 1
# b = 2
# c = 3

# a, b, c = 1, 2, 3
# print(a, b, c)

# data = [1,2,3]
# print(data)
# x = data[0]
# y = data[1]
# z = data[2]
# print(x,y,z)

# x, y, z = [1, 2, 3]
# print(x, y, z)
#
# x, y, *z = (1, 2, 3, 4, 5, 6)
# print(x,y)
# print(z)

# *args
# 版本1
# def add(x, y, z):
#     print(x + y)
#
# add(1, 2, 3)

# 版本2
# def add(name, *args):
#     print(name)
#     print(args)
#     ret = 0
#     for i in args:
#         ret += i
#     print(ret)
#
#
# add("yuan", 1, 2, 3, 4, 5, 6, 7)

# 案例2
# print(1, 2, 3, 4,end="")



